package com.software.loginregister.header;

import com.software.loginregister.R;
import com.software.loginregister.entity.CategoryItem;

import java.util.ArrayList;
import java.util.List;

public class CategoryHeader {
    private List<CategoryItem> categories;

    public CategoryHeader() {
        categories = new ArrayList<>();
        categories.add(new CategoryItem(R.drawable.ic_food, "美食"));
        categories.add(new CategoryItem(R.drawable.ic_drink, "饮品"));
        categories.add(new CategoryItem(R.drawable.ic_vegetable, "果蔬"));
        categories.add(new CategoryItem(R.drawable.ic_dessert, "甜点蛋糕"));
    }

    public List<CategoryItem> getCategories() {
        return categories;
    }
}